home *** CD-ROM | disk | FTP | other *** search
- @ECHO OFF
- IF not %2.==. GOTO Check1
- ECHO
- ECHO SYNTAX: XIT passwd_file dict_file [-Sword]
- Exit
- :Check1
- IF EXIST %1 GOTO Check2
- ECHO %1 does not exist!
- Exit
- :Check2
- IF EXIST %2 GOTO Process
- ECHO %2 does not exist!
- Exit
- :Process
- X-PWD -Px %1 > $pwd.tmp
- X-SORT $pwd.tmp $pwdf.tmp
- DEL $pwd.tmp
- ECHO
- XIT3 %2 $pwdf.tmp $pwdrep.tmp %3 %4
- DEL $pwdf.tmp
- ECHO
- X-REP $pwdrep.tmp %1 > report
- COPY $pwdrep.tmp status > NUL
- DEL $pwdrep.tmp
- ECHO
- TYPE report